#ifndef MOVEHANDLER_H
#define MOVEHANDLER_H

#include "GameEventHandler.h"
#include "MoveEvent.h"
#include "Movable.h"

class MoveHandler: public GameEventHandler
{
public:
	MoveHandler(Movable *receiver);
	MoveHandler(const MoveHandler& rhs);
	virtual ~MoveHandler();

	bool CanHandle(const GameEvent* gameEvent) const;
	void HandleEvent(GameEvent* gameEvent);
	GameEventHandler* Clone() const;

protected:
private:
	MoveEvent moveEvent;
	Movable *movable;
};

#endif //MOVEHANDLER_H
